package cn.chrilwe.pigpig.core.model.user.ext;

import java.util.List;

import cn.chrilwe.pigpig.core.model.user.Authority;
import cn.chrilwe.pigpig.core.model.user.Role;
import cn.chrilwe.pigpig.core.model.user.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * @author chrilwe
 * 2020-7-30
 */
@Data
@ApiModel
public class UserExt {
	
	@ApiModelProperty(name = "user", value = "用户user")
	private User user;
	
	@ApiModelProperty(name = "roles", value = "角色list")
	private List<Role> roles;
	
	@ApiModelProperty(name = "authorities", value = "权限list")
	private List<Authority> authorities;
}
